﻿using System;
using System.Runtime.Serialization;

namespace Phatent.Model.Functions
{
    [DataContract]
    public class MeetingModel:MBase
    {
        [DataMember]
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        public int ID { get; set; }
        [DataMember]
        [Model]
        public string Title { get; set; }
        [DataMember]
        [Model]
        public string AdminPassword { get; set; }
        [DataMember]
        [Model]
        public string JoinPassword { get; set; }
        [DataMember]
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        public System.DateTime CreatedOn { get; set; }
        [DataMember]
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        public int MeetingNumber { get; set; }
    }

    [DataContract]
    public class MeetingCollection : ModelCollectionBase<MeetingModel> { }
}
